package org.xutils.xutillearn.ui.common;

import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import org.xutils.x;
import org.xutils.xutillearn.ui.iview.IBaseView;

/**
 * Created by 杨木易 on 2016/3/27.
 */
public class BaseActivity extends AppCompatActivity implements IBaseView{

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        x.view().inject(this);
    }

    @Override
    public Context getContext() {
        return this;
    }



}
